package com.xianggu.spring.spi.demo;

import java.util.List;

public class SpiDemo {
    public static void main(String[] args) {
        List<MyService> services = SpiLoader.load(MyService.class);
        for (MyService service : services) {
            service.execute();
        }
    }
}